package net.oschina.app.pages;

import android.widget.TextView;

import net.oschina.app.testcases.favorites.SoloWrap;

/**
 * Created by Administrator on 2017/7/3.
 */

public class PageAbout {

    private SoloWrap solo;
    private TextView versionTextView;

    public PageAbout(SoloWrap solo){
        this.solo = solo;
    }

    public void initViews(){
        versionTextView = (TextView)solo.getView("net.oschina.app:id/tv_version_name");
    }

    public String getVersion(){
        return versionTextView.getText().toString();
    }

}
